﻿<UserControl x:Class="SilverlightClientEditor.View.Components.GamePropertiesEditorUC"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" 
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml">
    <Grid x:Name="LayoutRoot">
        <StackPanel Orientation="Vertical">
            <StackPanel Orientation="Horizontal">
                <TextBlock>Game Name:</TextBlock>
                <TextBox Name="NameTextBox" Text="" Width="100"></TextBox>
                <TextBlock>TileSize:</TextBlock>
                <TextBox Name="TileSizeXTextBox" Text="" Width="30"></TextBox>
                <TextBox Name="TileSizeYTextBox" Text="" Width="30"></TextBox>
                <TextBlock>MaxMapHeight:</TextBlock>
                <TextBox Name="MaxMapHeightTextBox" Text="" Width="30"></TextBox>
                <TextBlock>MinMapHeight:</TextBlock>
                <TextBox Name="MinMapHeightTextBox" Text="" Width="30"></TextBox>
                <TextBlock>TileHeightUnit:</TextBlock>
                <TextBox Name="TileHeightUnitTextBox" Text="" Width="30"></TextBox>
                <Button Name="SetButton">Set</Button>
                <Button Name="CancelButton">Cancel</Button>                
            </StackPanel>

            <StackPanel Orientation="Horizontal">
                <TextBlock>Resources:</TextBlock>
                <ComboBox Name="EditResourceComboBox"></ComboBox>
                <Button Name="EditResourceButton" Click="Button_Click" Content="Edit"></Button>
                <Button Name="RemoveResourceButton" Click="Button_Click" Content="Remove"></Button>
                <Button Name="NewResourceButton" Click="Button_Click" Content="New"></Button>
                <Button Name="CopyAsNewResourceButton" Click="Button_Click" Content="Copy as new"></Button>
            </StackPanel>

            <StackPanel Orientation="Horizontal">
                <TextBlock>View States:</TextBlock>
                <ComboBox Name="EditViewStateComboBox"></ComboBox>
                <Button Name="EditViewStateButton" Click="Button_Click" Content="Edit"></Button>
                <Button Name="RemoveViewStateButton" Click="Button_Click" Content="Remove"></Button>
                <Button Name="NewViewStateButton" Click="Button_Click" Content="New"></Button>
            </StackPanel>
            
            <StackPanel Orientation="Horizontal">
                <TextBlock>Views:</TextBlock>
                <ComboBox Name="EditViewComboBox"></ComboBox>
                <Button Name="EditViewButton" Click="Button_Click" Content="Edit"></Button>
                <Button Name="RemoveViewButton" Click="Button_Click" Content="Remove"></Button>
                <Button Name="NewViewButton" Click="Button_Click" Content="New"></Button>
                <Button Name="CopyAsNewViewButton" Click="Button_Click" Content="Copy as new"></Button>
            </StackPanel>

            <StackPanel Orientation="Horizontal">
                <TextBlock>Thing types:</TextBlock>
                <ComboBox Name="EditThingTypeComboBox"></ComboBox>
                <Button Name="EditThingTypeButton" Click="Button_Click" Content="Edit"></Button>
                <Button Name="RemoveThingTypeButton" Click="Button_Click" Content="Remove"></Button>
                <Button Name="NewThingTypeButton" Click="Button_Click" Content="New"></Button>
                <Button Name="CopyAsNewThingTypeButton" Click="Button_Click" Content="Copy as new"></Button>
            </StackPanel>

            <StackPanel Orientation="Horizontal">
                <TextBlock>Levels:</TextBlock>
                <ComboBox Name="EditLevelComboBox"></ComboBox>
                <Button Name="EditLevelButton" Click="Button_Click" Content="Edit"></Button>
                <Button Name="RemoveLevelButton" Click="Button_Click" Content="Remove"></Button>
                <Button Name="NewLevelButton" Click="Button_Click" Content="New"></Button>
                <!--Button Name="CopyAsNewLevelButton" Click="Button_Click">Copy as new</Button-->
            </StackPanel>
            <TextBlock>TODO ordem dos levels</TextBlock>
        </StackPanel>
    </Grid>
</UserControl>